import { NgModule } from '@angular/core';
import { BrowserModule } from "@angular/platform-browser";
import { RouterModule, Router } from "@angular/router";

// custom NgModule
import { F10SharedModule } from "./f10-shared/f10-shared.module";

// f10 service
import { F10Service } from "./service/f10.service";
import { ScrollService } from "./service/scroll.service";

// component
import { F10Component } from "./f10.component";
import { MainIndicatorComponent } from "./main-indicator/main-indicator.component";
import { CompProfileComponent } from "./comp-profile/comp-profile.component";
import { ManageComponent } from "./manage/manage.component";
import { NewsComponent } from "./news/news.component";
import { ReportsComponent } from "./reports/reports.component";
import { ManagersComponent } from "./managers/managers.component";
import { CapitalComponent } from "./capital/capital.component";
import { ShareholderComponent } from "./shareholder/shareholder.component";
import { ShareComponent } from "./share/share.component";
import { BonusComponent } from "./bonus/bonus.component";
import { FinanceComponent } from "./finance/finance.component";
import { EventComponent } from "./event/event.component";
import { RankingComponent } from "./ranking/ranking.component";

// import shareholder child component
import { ShareholderCompareComponent } from "./shareholder/shareholder-compare/shareholder-compare.component";
// import manage child component
import { ClassifyTableComponent } from "./manage/classify-table/classify-table.component";

@NgModule({
  imports: [
    BrowserModule,
    RouterModule,
    F10SharedModule
  ],
  declarations: [
    F10Component,
    MainIndicatorComponent,
    CompProfileComponent,
    ManageComponent,
    NewsComponent,
    ReportsComponent,
    ManagersComponent,
    CapitalComponent,
    ShareholderComponent,
    ShareComponent,
    BonusComponent,
    FinanceComponent,
    EventComponent,
    RankingComponent,
    ShareholderCompareComponent,
    ClassifyTableComponent
  ],
  exports: [
    F10Component
  ],
  providers: [ F10Service, ScrollService ]
})

export class F10Module {}